package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.Registration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RegistrationDao {

    Long insert(Registration news);

    List<Registration> findByBean(Registration news);

    Registration findById(Long id);

    Integer findByBeanCount(Registration news);

    void deleteById(Registration news);

    void deleteByBean(Registration news);

    void updateById(Registration news);

}
